using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessLogicLayer
{
    using BusinessObjectLayer;
    using DataAccessLayer;
    using DataObjectLayer;

    public class PaperBLL
    {
        public PaperBOL[] Select()
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.Select);
            return _PaperDAL.Select();
        }
        public void Insert(PaperBOL _PaperBOL)
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.Insert, _PaperBOL);
            _PaperDAL.Insert();
        }
        public void Update(PaperBOL _PaperBOL)
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.Update, _PaperBOL);
            _PaperDAL.Update();
        }
        public void Delete(PaperBOL _PaperBOL)
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.Delete, _PaperBOL);
            _PaperDAL.Delete();
        }
        public long? SelectMaxId()
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.SelectMaxId);
            return _PaperDAL.SelectMaxId();
        }
        public PaperBOL[] SelectComboBox()
        {
            PaperDAL _PaperDAL = new PaperDAL(PaperDOL.QueryStatus.SelectComboBox);
            return _PaperDAL.SelectComboBox();
        }
    }
}
